package com.museum.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 评价实体类
 */
@Data
@TableName("review")
public class Review {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    private Long reservationId;
    
    private Long userId;
    
    private Long adminId;
    
    private String content;
    
    private String reply;
    
    private Integer score;
    
    private LocalDateTime createTime;
    
    private LocalDateTime replyTime;
    
    private LocalDateTime updateTime;
} 